{extend name="public/common"}
{block name="body"}
<title>基本设置</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 
	系统管理
	<span class="c-gray en">&gt;</span>
	财务设置
	<span class="c-gray en">&gt;</span>
	充值支付方案
	<span class="c-gray en">&gt;</span>
	线上支付方案
	<span class="c-gray en">&gt;</span>
	添加收款账户
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>

<div class="page-container">
		<div id="tab-system" class="HuiTab">
				<div class="tabCon">
					<form action="{:url('Paysetting/addCodeAccount')}?is_add=1" method="post" enctype="application/x-www-form-urlencoded" class="form form-horizontal" id="form-article-add">
				    <div class="row cl">
				      <label class="form-label col-xs-4 col-sm-2">账户名称：</label>
				      <div class="formControls col-xs-8 col-sm-9">
				        <input type="text" name="name" class="input-text" style="width:205px;" required="required" placeholder="请输入账户名称" >
				      </div>
				    </div>
				    
				    <div class="row cl">
				      <label class="form-label col-xs-4 col-sm-2">方案类型：</label>
				      <div class="formControls col-xs-8 col-sm-9">
				      	<select class="input-text" name="type" style="width:205px;">
				      	{if($type_value=='支付宝扫码')}
				      		<option value="alipay">支付宝扫码</option>
				      	{/if}
				      	{if($type_value=='微信扫码')}
				      		<option value="wechat">微信扫码</option>
				      	{/if}
				      	</select>
				      </div>
				    </div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">支付类型：</label>
						<div class="formControls col-xs-8 col-sm-9">
							<select class="input-text" name="method_id" style="width:205px;">
								{foreach $method as $key=>$val}
								<option value="{$key}">{$val}</option>
								{/foreach}
							</select>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">方案唯一标识：</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" id="label" name="label" class="input-text" style="width:205px;" placeholder="单个大写字母">
							<p style="color: red;">编辑时设定，区分充值方案，不可重复，后期不可修改</p>
							<p style="color: red;">单个大写字母（{$can_use}）可选</p>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">排&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;序：</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="number" name="order" class="input-text" style="width:205px;" value="0" placeholder="数字越大排序越靠前" >
						</div>
					</div>
				    <div class="am-margin" style="margin-top:60px;">
				  	<input type="submit" style="margin-left:240px;" class="btn btn-danger radius"  value="确认添加" />
				    <button type="button" onclick="var index = parent.layer.getFrameIndex(window.name);parent.layer.close(index);" style="margin-left:30px;" class="btn btn-primary radius">返&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;回</button>
				  </div>
				  </form>
				</div>
			</div>

		</div>
	
{/block}
{block name="js"}
<script type="text/javascript" src="__SYSMET__/common.js"></script>
	<script type="text/javascript">
	$(function(){

		$("#tab-system").Huitab({
			index:0
		});
	});
</script>
{/block}
